package com.zking;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableAsync // 开启异步任务
@EnableScheduling // 开启一步时钟自动任务
public class App4 {
    public static void main(String[] args) {
        SpringApplication.run(App4.class, args);
    }
}
